package com.example.demo.service;

import com.example.demo.domain.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {

    List<User> findAllUser();

    User findUserByName(String name);

    void saveUser(User user);
}
